<%@include file="../../context.jsp"%>
<script type="text/javascript">
	$(document).ready(function() {
		$("#btn_search_fund").on("click", function() {
			console.info("search");
			searchData("filterForm_fund");
		});

		$("#resetFilter_fund").on("click", function() {
			console.info("reset filter");
			resetFilters("filterForm_fund");
		});
	});
</script>
<form:form id="filterForm_fund" method="POST" commandName="criteria"
	action="${pageContext.request.contextPath}/stockscreener/search.html">
	<div class="tab-pane active" id="home">
		<div class="table_body">
			<table width="100%">
				<!-- line 1 start -->
				<tr>
					<jsp:include page="fundamental_line1.jsp" />
					<td width="14%">
						<div class="control-group">
							<label class="control-label" for="inputEmail">ROA</label>
							<form:select cssClass="input-append" path="roa"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="10-20">10 to 20%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="30-100">Above 30%</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="0-20">Below 20%</form:option>
								<form:option value="0-30">Below 30%</form:option>
								<form:option value="min-0">Negative</form:option>
							</form:select>
						</div>
					</td>
					<td width="14%">
						<div class="control-group">
							<label class="control-label" for="inputEmail">Debt To
								Equity %</label>
							<form:select cssClass="input-append" path="debtToEquity"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0"> Zero </form:option>
								<form:option value="0-20">Below 20%</form:option>
								<form:option value="0-50">Below 50%</form:option>
								<form:option value="0-100">Below 100%</form:option>
								<form:option value="20-50">20% to 50%</form:option>
								<form:option value="50-100">50% to 100%</form:option>
								<form:option value="100-max">Over 100%</form:option>
							</form:select>
						</div>
					</td>
				</tr>
				<!-- line 1 End -->
				<!-- line 2 start -->
				<tr>
					<jsp:include page="fundamental_line2.jsp" />
					<td>
						<div class="control-group">
							<label class="control-label" for="inputEmail">Trailing
								EPS growth YoY</label>
							<form:select cssClass="input-append" path="lstFourQtrEps"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
					<td>
						<div class="control-group">
							<label class="control-label" for="inputEmail">5Y revenue
								growth</label>
							<form:select cssClass="input-append" path="revenueGrowthFiveYear"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="control-group">
							<label class="control-label" for="inputEmail">Qtr EBITDA
								growth QoQ</label>
							<form:select cssClass="input-append" path="ebitdaGrowthQoq"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
					<td>
						<div class="control-group">
							<label class="control-label" for="inputEmail">Qtr EBITDA
								growth YoY</label>
							<form:select cssClass="input-append" path="ebitdaGrowthQoq"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
					<jsp:include page="fundamental_line3.jsp" />
					<td>
						<div class="control-group">
							<label class="control-label" for="inputEmail">Trailing
								revenue growth YoY</label>
							<form:select cssClass="input-append" path="lstFourQtrRevenue"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
					<td>
						<div class="control-group">
							<label class="control-label" for="inputEmail">5Y EBITDA
								growth</label>
							<form:select cssClass="input-append" path="ebitdaGrowthFiveYear"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="control-group">
							<label class="control-label" for="inputEmail">1Y EBTDA
								growth YoY </label>
							<form:select cssClass="input-append" path="annamEbitdaGrowthYoy"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
					<td>
						<div class="control-group">
							<label class="control-label" for="inputEmail">Trailing
								EBITDA growth YoY</label>
							<form:select cssClass="input-append" path="lstFourEbitda"
								id="appendedDropdownButton">
								<form:option value="-1"> Any </form:option>
								<form:option value="min-0">Negative</form:option>
								<form:option value="0-10">Below 10%</form:option>
								<form:option value="5-10">5 to 10%</form:option>
								<form:option value="20-30">20 to 30%</form:option>
								<form:option value="10-100">Above 10%</form:option>
								<form:option value="20-100">Above 20%</form:option>
								<form:option value="30-100">Above 30%</form:option>
							</form:select>
						</div>
					</td>
				</tr>
				<!-- line 2 end -->
				<tr>
					<td colspan="6"><input type="button" class="btn btn-info"
						id="btn_search_fund" value="Search" /></td>
					<td><input type="button" id="resetFilter_fund"
						class="btn btn-info" style="float: right;" value="Reset Filter" /></td>
				</tr>
			</table>
		</div>
	</div>
</form:form>